import React from "react";
import styled from "styled-components";
const TitleWrapper = styled.h2`
  position: relative;
  padding-left: 9px;
  margin-bottom: 14px;
  font-size: 16px;
  height: 20px;
  line-height: 20px;
  color: #333;
  &::after {
    content: " ";
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
    width: 2px;
    height: 17px;
    background-color: #d33a31;
  }
`;
function Title(props) {
  return <TitleWrapper>{props.title}</TitleWrapper>;
}

export default Title;
